package com.yima.baseproj.module.app.dict.dict;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yima.baseproj.module.app.dict.dict.model.AppDictSearchModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author 一码
 */
@Mapper
public interface AppDictMapper extends BaseMapper<AppDictEntity> {

    List<Map> findBySearchVo(@Param("searchVo") AppDictSearchModel searchVo);

    Page<Map> findBySearchVo(@Param("page") Page page,
                                          @Param("searchVo") AppDictSearchModel searchVo);
}
